-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENH: Check if fit
has been called prior to predict
#166
ENH: Check if fit
has been called prior to predict
#166
Conversation
For now, only added it for A few notes:
Useful references: Slightly related:
No tests added for now until the above is figured out. |
aa1b0c7
to
b96cd24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I very much agree with the suggestions. I also agree that fit()
was a very poor choice for the estimator object. Probably optimize()
or search()
would have been much better names. +1 to updating.
At this point, I'm not even sure the estimator should be an object at all.
Check if `fit` has been called prior to `predict`: raise an exception if not. Add the accompanying tests.
b96cd24
to
c440406
Compare
Should they inherit from
Not sure if Concerning c440406, the |
I believe they do not inherit just for historical reasons (they were written the first, then we created
Yup, I think making them part of the hierarchy makes all sense.
Yes, in a different PR :). |
PR #173. Making this a draft as addressing the inheritance issue is more complicated that what it seems. |
bc2931e
to
d98f586
Compare
539b45e
to
aeb503d
Compare
aeb503d
to
e65c250
Compare
Check if
fit
has been called prior topredict
: raise an exception if not.Resolves #113.